import axiosInstance from "./axios"

/*const request = axios.create({
    baseURL: "",
    timeout: 5000,
});*/
const request = axiosInstance;
// 管理员登录
export const loginApi = (name, password) => {
    return request.post("/admin/login",
        {
            name: name,
            password: password
        })
}


